import request from '@/utils/request'

// 头程收货单-列表
export function queryHeadList(data) {
  return request({
    url: '/wms_v1_pc/head-get-goods-order/list-head-get-goods-order',
    method: 'POST',
    data
  })
}

// 头程收货单-查看
export function getHeadOrderDetail(params) {
  return request({
    url: '/wms_v1_pc/head-get-goods-order/get-head-get-goods-order-detail',
    method: 'GET',
    params
  })
}

// 头程收货单-日志
export function getHeadLog(params) {
  return request({
    url: '/wms_v1_pc/head-get-goods-order/log-head-get-goods-order',
    method: 'GET',
    params
  })
}

// 头程收货单-收货
export function receivingHeadOrder(data) {
  return request({
    url: '/wms_v1_pc/head-get-goods-order/get-goods-head-get-goods-order',
    method: 'POST',
    data
  })
}

// 头程收货单-手动完结
export function endHeadOrder(data) {
  return request({
    url: '/wms_v1_pc/head-get-goods-order/end-head-get-goods-order',
    method: 'POST',
    data
  })
}
